<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
YuiJavaScriptCompressor (HTML Compressor and Minifier 1.5.2 API)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="YuiJavaScriptCompressor (HTML Compressor and Minifier 1.5.2 API)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/YuiJavaScriptCompressor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiCssCompressor.html" title="class in com.googlecode.htmlcompressor.compressor"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.DefaultErrorReporter.html" title="class in com.googlecode.htmlcompressor.compressor"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="YuiJavaScriptCompressor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.googlecode.htmlcompressor.compressor</FONT>
<BR>
Class YuiJavaScriptCompressor</H2>
<PRE>
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/googlecode/htmlcompressor/compressor/Compressor.html" title="interface in com.googlecode.htmlcompressor.compressor">Compressor</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>YuiJavaScriptCompressor</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../com/googlecode/htmlcompressor/compressor/Compressor.html" title="interface in com.googlecode.htmlcompressor.compressor">Compressor</A></DL>
</PRE>

<P>
Basic JavaScript compressor implementation using <a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a> 
 that could be used by <A HREF="../../../../com/googlecode/htmlcompressor/compressor/HtmlCompressor.html" title="class in com.googlecode.htmlcompressor.compressor"><CODE>HtmlCompressor</CODE></A> for inline JavaScript compression.
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD><a href="mailto:serg472@gmail.com">Sergiy Kovalchuk</a></DD>
<DT><B>See Also:</B><DD><A HREF="../../../../com/googlecode/htmlcompressor/compressor/HtmlCompressor.html#setJavaScriptCompressor(com.googlecode.htmlcompressor.compressor.Compressor)"><CODE>HtmlCompressor.setJavaScriptCompressor(Compressor)</CODE></A>, 
<a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.DefaultErrorReporter.html" title="class in com.googlecode.htmlcompressor.compressor">YuiJavaScriptCompressor.DefaultErrorReporter</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default <code>ErrorReporter</code> implementation that uses <code>System.err</code> 
 stream for error reporting.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#YuiJavaScriptCompressor()">YuiJavaScriptCompressor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#compress(java.lang.String)">compress</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;source)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The main method that compresses the given source and returns a compressed result.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.mozilla.javascript.ErrorReporter</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#getErrorReporter()">getErrorReporter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>ErrorReporter</code> used by YUI Compressor to log error messages 
 during JavasSript compression</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#getLineBreak()">getLineBreak</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns number of symbols per line Yahoo YUI Compressor
 will use during JavaScript compression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#isDisableOptimizations()">isDisableOptimizations</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if Yahoo YUI Compressor
 will disable all the built-in micro optimizations during JavaScript compression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#isNoMunge()">isNoMunge</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if Yahoo YUI Compressor
 will only minify javascript without obfuscating local symbols.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#isPreserveAllSemiColons()">isPreserveAllSemiColons</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if Yahoo YUI Compressor
 will preserve unnecessary semicolons during JavaScript compression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#setDisableOptimizations(boolean)">setDisableOptimizations</A></B>(boolean&nbsp;disableOptimizations)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells Yahoo YUI Compressor to disable all the built-in micro optimizations
 during JavaScript compression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#setErrorReporter(org.mozilla.javascript.ErrorReporter)">setErrorReporter</A></B>(org.mozilla.javascript.ErrorReporter&nbsp;errorReporter)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets <code>ErrorReporter</code> that YUI Compressor will use for reporting errors during 
 JavaScript compression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#setLineBreak(int)">setLineBreak</A></B>(int&nbsp;lineBreak)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells Yahoo YUI Compressor to break lines after the specified number of symbols 
 during JavaScript compression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#setNoMunge(boolean)">setNoMunge</A></B>(boolean&nbsp;noMunge)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells Yahoo YUI Compressor to only minify javascript without obfuscating 
 local symbols.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html#setPreserveAllSemiColons(boolean)">setPreserveAllSemiColons</A></B>(boolean&nbsp;preserveAllSemiColons)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells Yahoo YUI Compressor to preserve unnecessary semicolons 
 during JavaScript compression.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="YuiJavaScriptCompressor()"><!-- --></A><H3>
YuiJavaScriptCompressor</H3>
<PRE>
public <B>YuiJavaScriptCompressor</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="compress(java.lang.String)"><!-- --></A><H3>
compress</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>compress</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;source)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/googlecode/htmlcompressor/compressor/Compressor.html#compress(java.lang.String)">Compressor</A></CODE></B></DD>
<DD>The main method that compresses the given source and returns a compressed result.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/googlecode/htmlcompressor/compressor/Compressor.html#compress(java.lang.String)">compress</A></CODE> in interface <CODE><A HREF="../../../../com/googlecode/htmlcompressor/compressor/Compressor.html" title="interface in com.googlecode.htmlcompressor.compressor">Compressor</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The source to compress.
<DT><B>Returns:</B><DD>Compressed result.</DL>
</DD>
</DL>
<HR>

<A NAME="isNoMunge()"><!-- --></A><H3>
isNoMunge</H3>
<PRE>
public boolean <B>isNoMunge</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if Yahoo YUI Compressor
 will only minify javascript without obfuscating local symbols. 
 This corresponds to <code>--nomunge</code> command line option.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><code>nomunge</code> parameter value used for JavaScript compression.<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
</DD>
</DL>
<HR>

<A NAME="setNoMunge(boolean)"><!-- --></A><H3>
setNoMunge</H3>
<PRE>
public void <B>setNoMunge</B>(boolean&nbsp;noMunge)</PRE>
<DL>
<DD>Tells Yahoo YUI Compressor to only minify javascript without obfuscating 
 local symbols. This corresponds to <code>--nomunge</code> command line option. 
 This option has effect only if JavaScript compression is enabled. 
 Default is <code>false</code>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>noMunge</CODE> - set <code>true<code> to enable <code>nomunge</code> mode<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
</DD>
</DL>
<HR>

<A NAME="isPreserveAllSemiColons()"><!-- --></A><H3>
isPreserveAllSemiColons</H3>
<PRE>
public boolean <B>isPreserveAllSemiColons</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if Yahoo YUI Compressor
 will preserve unnecessary semicolons during JavaScript compression. 
 This corresponds to <code>--preserve-semi</code> command line option.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><code>preserve-semi</code> parameter value used for JavaScript compression.<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
</DD>
</DL>
<HR>

<A NAME="setPreserveAllSemiColons(boolean)"><!-- --></A><H3>
setPreserveAllSemiColons</H3>
<PRE>
public void <B>setPreserveAllSemiColons</B>(boolean&nbsp;preserveAllSemiColons)</PRE>
<DL>
<DD>Tells Yahoo YUI Compressor to preserve unnecessary semicolons 
 during JavaScript compression. This corresponds to 
 <code>--preserve-semi</code> command line option. 
 This option has effect only if JavaScript compression is enabled.
 Default is <code>false</code>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>preserveAllSemiColons</CODE> - set <code>true<code> to enable <code>preserve-semi</code> mode<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
</DD>
</DL>
<HR>

<A NAME="isDisableOptimizations()"><!-- --></A><H3>
isDisableOptimizations</H3>
<PRE>
public boolean <B>isDisableOptimizations</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if Yahoo YUI Compressor
 will disable all the built-in micro optimizations during JavaScript compression. 
 This corresponds to <code>--disable-optimizations</code> command line option.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><code>disable-optimizations</code> parameter value used for JavaScript compression.<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
</DD>
</DL>
<HR>

<A NAME="setDisableOptimizations(boolean)"><!-- --></A><H3>
setDisableOptimizations</H3>
<PRE>
public void <B>setDisableOptimizations</B>(boolean&nbsp;disableOptimizations)</PRE>
<DL>
<DD>Tells Yahoo YUI Compressor to disable all the built-in micro optimizations
 during JavaScript compression. This corresponds to 
 <code>--disable-optimizations</code> command line option. 
 This option has effect only if JavaScript compression is enabled.
 Default is <code>false</code>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>disableOptimizations</CODE> - set <code>true<code> to enable 
 <code>disable-optimizations</code> mode<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
</DD>
</DL>
<HR>

<A NAME="getLineBreak()"><!-- --></A><H3>
getLineBreak</H3>
<PRE>
public int <B>getLineBreak</B>()</PRE>
<DL>
<DD>Returns number of symbols per line Yahoo YUI Compressor
 will use during JavaScript compression. 
 This corresponds to <code>--line-break</code> command line option.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><code>line-break</code> parameter value used for JavaScript compression.<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
</DD>
</DL>
<HR>

<A NAME="setLineBreak(int)"><!-- --></A><H3>
setLineBreak</H3>
<PRE>
public void <B>setLineBreak</B>(int&nbsp;lineBreak)</PRE>
<DL>
<DD>Tells Yahoo YUI Compressor to break lines after the specified number of symbols 
 during JavaScript compression. This corresponds to 
 <code>--line-break</code> command line option. 
 This option has effect only if JavaScript compression is enabled.
 Default is <code>-1</code> to disable line breaks.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineBreak</CODE> - set number of symbols per line<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a></DL>
</DD>
</DL>
<HR>

<A NAME="getErrorReporter()"><!-- --></A><H3>
getErrorReporter</H3>
<PRE>
public org.mozilla.javascript.ErrorReporter <B>getErrorReporter</B>()</PRE>
<DL>
<DD>Returns <code>ErrorReporter</code> used by YUI Compressor to log error messages 
 during JavasSript compression
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><code>ErrorReporter</code> used by YUI Compressor to log error messages 
 during JavasSript compression<DT><B>See Also:</B><DD><a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a>, 
<a href="http://www.mozilla.org/rhino/apidocs/org/mozilla/javascript/ErrorReporter.html">Error Reporter Interface</a></DL>
</DD>
</DL>
<HR>

<A NAME="setErrorReporter(org.mozilla.javascript.ErrorReporter)"><!-- --></A><H3>
setErrorReporter</H3>
<PRE>
public void <B>setErrorReporter</B>(org.mozilla.javascript.ErrorReporter&nbsp;errorReporter)</PRE>
<DL>
<DD>Sets <code>ErrorReporter</code> that YUI Compressor will use for reporting errors during 
 JavaScript compression. If no <code>ErrorReporter</code> was provided 
 <A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.DefaultErrorReporter.html" title="class in com.googlecode.htmlcompressor.compressor"><CODE>YuiJavaScriptCompressor.DefaultErrorReporter</CODE></A> will be used 
 which reports errors to <code>System.err</code> stream.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>errorReporter</CODE> - <code>ErrorReporter<code> that will be used by YUI Compressor<DT><B>See Also:</B><DD><A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.DefaultErrorReporter.html" title="class in com.googlecode.htmlcompressor.compressor"><CODE>YuiJavaScriptCompressor.DefaultErrorReporter</CODE></A>, 
<a href="http://developer.yahoo.com/yui/compressor/">Yahoo YUI Compressor</a>, 
<a href="http://www.mozilla.org/rhino/apidocs/org/mozilla/javascript/ErrorReporter.html">ErrorReporter Interface</a></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/YuiJavaScriptCompressor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiCssCompressor.html" title="class in com.googlecode.htmlcompressor.compressor"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.DefaultErrorReporter.html" title="class in com.googlecode.htmlcompressor.compressor"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/googlecode/htmlcompressor/compressor/YuiJavaScriptCompressor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="YuiJavaScriptCompressor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &#169; 2009-2011 <a href="http://code.google.com/p/htmlcompressor/">Sergiy Kovalchuk</a>. All Rights Reserved.
</BODY>
</HTML>
